/**
 * 论坛model
 * @type {[type]}
 */
const mongoose = require('mongoose')
const Schema = mongoose.Schema

const forumSchema = new Schema({
    userid: 'String',
   	titles: 'String',
 	ip: 'String',
 	createtime: 'String',
 	repleycount: 'Number',
 	replyuserid: 'String',
 	lastreplytime: 'String',
 	repleycount: 'String',
 	simplecontent: 'String',
 	favor: 'Number'
})
mongoose.model('forum',forumSchema)
exports.Forum = mongoose.model('forum')
